home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / seyon / protocols < prev    next >
Text File  |  1995-05-03  |  2KB  |  55 lines

  1. # this a ready-to-use example of the protocols file
  2. # just move it to ~/.seyon, or whatever your Seyon's
  3. # default directory is
  4.  
  5. # note that this file has nothing to with Zmodem auto-download.
  6. # you have to use the resources 
  7. # zmodemAutoDownload and
  8. # zmodemAutoDownloadCommand for that.
  9. # see the manula page for more details.
  10.  
  11. # the format is simple.
  12.  
  13. # the first field is the title (the name that appears in
  14. # the file transfer console).
  15. # the presence of this field is reuired.
  16.  
  17. # the second field is the command (if it starts with $, stdin
  18. # and stdout will be redirected to the modem port.
  19. # the presence of this field is reuired.
  20.  
  21. # the third field is whether that protocol requires 
  22. # a file name argument (like in uploading, for instance).
  23. # the presence of this field is reuired.
  24.  
  25. # you can put comments on a single line
  26. # or at the end of a line
  27.  
  28. regular_zmodem_dl    "$ cd /usr/dl; rz -vv" n # like in here
  29.  
  30. # blank lines are OK too, for readability.
  31.  
  32. # the title has to be either a single word, like the above
  33. # or a collection of words, but quoted, like below.
  34.  
  35. # you put anything instead of y as long as it starts
  36. # with y: y, Y, yes, yep ..etc.
  37.  
  38. "regular zmodem ul"  "$ cd /usr/src; sz -vv" y
  39.  
  40. # anything that doesn't start with a y is a no
  41. # e.g. n, N, NO, Not, nope, nien, nono ..etc.
  42. # even hello, but the use of words that doesn't start
  43. # with n is highly discouraged
  44.  
  45. graphic_zmodem_dl    "cd /usr/dl; grz        No
  46. xrz3D                "$cd /usr/dl; xrz"      NO
  47.  
  48. # here is my own protocols file
  49. # notice how I make it clear to myself
  50. # whether I'm uploading or downloading
  51.  
  52. "SEND - Zmodem" "$cd /usr/src; sz -vv" y
  53. "RECEIVE - Reg. Zmodem" "$cd /usr/dl; rz -vv"  n
  54. "RECEIVE - Xrz3D" "$cd /usr/dl; xrz" n
  55.